#include "dialog.h"
#include <QLabel>
#include <QPushButton>
#include <QVBoxLayout>
#include <QProgressBar>

dialog::dialog(QWidget* parent)
    : QDialog(parent)
{
    QLabel* label = new QLabel("Downding...", this);
    QPushButton* button = new QPushButton("Cancel", this);
    QVBoxLayout*  layout = new QVBoxLayout(this);
    QProgressBar* progressbar = new QProgressBar(this);
    this->setLayout(layout);
    layout->addWidget(label);
    layout->addWidget(button);
    layout->addWidget(progressbar);
}
